package com.javakademi.tag.elements;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;

/**
 *
 * @author Bora SAYINER
 * @since Jan 14, 2015 11:30:13 PM
 * @version 1.0
 */
public class MenuTag extends SimpleTagSupport {

	@Override
	public void doTag() throws JspException, IOException {
		getJspContext().getOut().print("<div class='pure-menu pure-menu-open pure-menu-horizontal'>");
		getJspContext().getOut().print("<ul'>");
		getJspBody().invoke(null);
		getJspContext().getOut().print("</ul'>");
		getJspContext().getOut().print("</div>");
	}

}
